set :application, "Book Trader"
set :repository,  "http://bryantlarsencs4350.googlecode.com/svn/tags/DEPLOY_BOOKS"
set :domain, "books.azl.name"
set :user, "weberbooks"
set :use_sudo,  false
set :deploy_to, "/home/weberbooks/books.azl.name/books/"
set :scm,  "subversion"


role :app, domain
role :web, domain
role :db,  domain, :primary => true

namespace :deploy do
  desc "Restart Application"
  task :restart, :roles => :app do
    run "touch #{current_path}/tmp/restart.txt"
  end
end
